package com.example.actearly_revised;

import android.content.Context;

public class Helpful_Hints_Methods {
	SQLogic conn;
	public Helpful_Hints_Methods(Context con){
		conn = new SQLogic(con);
		conn.open();
		String[] temp = Fill_2Months_HelpfulHints();
		for(int i = 0; i < temp.length; i++){
		conn.AddHelpfulHint(temp[i], 2);
		}
		//conn.close();
		//conn.open();
		String[] temp1 = Fill_4Months_HelpfulHints();
		for(int i = 0; i < temp1.length; i++){
		conn.AddHelpfulHint(temp1[i], 4);
		}
		//conn.close();
		//conn.open();
		String[] temp11 = Fill_6Months_HelpfulHints();
		for(int i = 0; i < temp11.length; i++){
		conn.AddHelpfulHint(temp11[i], 6);
		}
		//conn.close();
		//conn.open();
		String[] temp111 = Fill_9Months_HelpfulHints();
		for(int i = 0; i < temp111.length; i++){
		conn.AddHelpfulHint(temp111[i], 9);
		}
		//conn.close();
		//conn.open();
		String[] temp1111 = Fill_12Months_HelpfulHints();
		for(int i = 0; i < temp1111.length; i++){
		conn.AddHelpfulHint(temp1111[i], 12);
		}
		//conn.close();
		//conn.open();
		String[] temp11111 = Fill_18Months_HelpfulHints();
		for(int i = 0; i < temp11111.length; i++){
		conn.AddHelpfulHint(temp11111[i], 18);
		}
		//conn.close();
		//conn.open();
		String[] temp111111 = Fill_2years_HelpfulHints();
		for(int i = 0; i < temp111111.length; i++){
		conn.AddHelpfulHint(temp111111[i], 24);
		}
		//conn.close();
		//conn.open();
		String[] temp1111111 = Fill_3years_HelpfulHints();
		for(int i = 0; i < temp1111111.length; i++){
		conn.AddHelpfulHint(temp1111111[i], 36);
		}
		//conn.open();
		String[] temp11111111 = Fill_4years_HelpfulHints();
		for(int i = 0; i < temp11111111.length; i++){
		conn.AddHelpfulHint(temp11111111[i], 48);
		}
		//conn.close();
		//conn.open();
		String[] temp111111111 = Fill_5years_HelpfulHints();
		for(int i = 0; i < temp111111111.length; i++){
		conn.AddHelpfulHint(temp111111111[i], 60);
		}
		conn.close();
	}

	public String[] Fill_2Months_HelpfulHints(){
		String[] return_hints = new String[]{
				"Cuddle, talk, and play with your baby during feeding, dressing, and bathing", 
				"Help your baby learn to calm herself. It's okay for her to suck on her fingers",
				"Begin to help you baby get into a routine, such as sleeping at night more than in the daym and have regular schedules",
				"Getting in tune with your baba's likes and dislkes can help you feel more comfortable and confident",
				"Act excited and smile when your baby makes sound",
				"Copy you baby's sounds somethimes, but also use clear language.",
				"Pay attention to your babr's different cries so that you learn to know what he wants",
				"Talk, read, and sing to your baby",
				"Play peek-a-boo. Help your babr play peek-a-boo, too",
				"Place a baby-safe mirror in your baby's crib so she can look at herself."};
				return return_hints;
	}
	
	public String[] Fill_4Months_HelpfulHints(){
		String[] return_hints = new String[]{
				"Hold and talk to your baby; smile and be cheerful while you do",
				"Set steady routines for sleeping and feeding",
				"Pay close attention to what your baby likes and doesn't like; you will know how to best to meet his needs and what you can do to make you baby happy",
				"Copy you baby's sound",
				"Act excited and smile whn your baby makes sounds.",
				"Have quiet play times when you reda or sing to your baby.",
				"Give age-appropriate toys to play wiht, such as rattles or colorful pictures",
				"Play games such as peek-a-boo",
				"Provide safe oppurtunities for your baby to reach for toys and explore his surroundings",
				"Put toys near your baby so that she can rach for them or kick her feet"};
				return return_hints;
	}
	
	public String[] Fill_6Months_HelpfulHints(){
		String[] return_hints = new String[]{
				"Play on the floor with your baby every day",
				"Learn to read your baby's moods. If he's happy, keep doing what you are doing, If he's upset, take a break and comfort your baby",
				"Show your baby how to comfort herself when she's upset. She may suck on her fingers to self soothe",
				"\"Use reciprical\" play - when he smiles, you smile; when he makes sounds, you copy them",
				"Repeat your child's sounds and say simple words with those sounds. For example, if your child says \"bah\" say \"bottle\" or \"book.\"",
				"Read books to your child every day. Praise her when she babbles and reads too",
				"When your baby looks at something, point to it and talk about it",
				"When he drops a toy on the floor, pick it up and give it back. This game helps him learn cause and effect",
				"Read colorful picture books to your baby"};
				return return_hints;
	}
	
	public String[] Fill_9Months_HelpfulHints(){
		String[] return_hints = new String[]{
				"Pay attention to the way he reacts to new situations and people; try to continue to do things that make your baby happy and comfortable",
				"As she moves around more, stay close so she knows that your are near",
				"Continue with routines, they are especially important now",
				"Play games with  \"my turn, your turn\"",
				"Say what your think your baby is feeling. For example, say, \" You are so sad, lets see if we can make your feel better\"",
				"Copy your baby's sounds and words",
				"Ask for behaviors that you want. for example, instead of saying \"don't stand,\" say \"time to sit\"",
				"Teach cause-and-effect by rolling balls back and forth, pushing toy cars and trucks, and putting blocks in and out of a container"};
				return return_hints;
	}
	
	public String[] Fill_12Months_HelpfulHints(){
		String[] return_hints = new String[]{
				"Give your child time to get to know a new caregiver. Bring a favorite toy, stuffed animal, or blanket to help comfort your child",
				"In response to unwanted behaviors, say \"no\" firmly. Do not yell, spank, or give long explanations. A time out for 30 seconds to 1 minute might help redirect your child",
				"Give your child lots of hugs, kisses, and praise for good behavior",
				"Talk to your child about what you're doing. For example, \"Mommy is washing your hands with a washcloth\"",
				"Read with your child every day. Have your child turn the pages. Take turns labeling pictures with your child",
				"Build on what your child says or tries to say or what he points to. If he points to a truck and says \"t\" or \"truck\" say, \"Yes, that's a big blue truck\""};
				return return_hints;
	}
	
	public String[] Fill_18Months_HelpfulHints(){
		String[] return_hints = new String[]{
				"Provide a safe, loving enviroment. It's important to be consistent and predictable",
				"Praise good behavoirs more than you punih bad behavoirs(use only very brief time outs)",
				"Describe her emotions. For example, say, \"You are happy when we read this book\"",
				"Encourage pretend play.",
				"Encourage empathy. For example, when he sees a child who is sad, encourage him to hug or pat the other child.",
				"Read books and talk about the pictures using simple words.",
				"Copy your child's words.",
				"Use words that describe feelings and emotions.",
				"Use simple, clear phrases.",
				"Ask simple questions."};
				return return_hints;
	}
	
	public String[] Fill_2years_HelpfulHints(){
		String[] return_hints = new String[]{
				"Encourage your child to help with simple chores at home, like sweeping and making dinner. Praise your child for being a good helper",
				"At this age, children still play next to (not with) each other and don't share well. For play dates, give the children lots of toy to play with. Watch the children closely and step in if they fight or argue",
				"Give your child attention and praise when he follows instructions. Limit attention for defiant behavoir. spend a lot more time praising good behavoirs than punishing bad ones",
				"Teach your child to identify and say body partsm animals, and other common things.",
				"Do not correct your child when he says words incorrectly. Rather, say it corretly. For example, \"That is a ball\""};
				return return_hints;
	}
	
	public String[] Fill_3years_HelpfulHints(){
		String[] return_hints = new String[]{
				"Gor to play groups with your child or other places where there are other children, to encourage getting along with others",
				"Work with your child to solve the problem when he is upset",
				"Talk about your child's emotions. For example, say \"I can tell you feel mad because you threw the puzzle piece.\" Encourage your child to identify feelings in book",
				"Give  your child instructions with 2 or 3 steps. For example, \"Go to you room and get your shoes and coat\"",
				"Read to your child every day. Ask your child to point to things in the pictures and repeat words after you"};
				return return_hints;
	}
	
	public String[] Fill_4years_HelpfulHints(){
		String[] return_hints = new String[]{
				"Play make-belive with your child. Let her be the leader and copy what she is doing.",
				"Suggest your child pretend play an upcoming event that might make him nervous, like going to preschool or staying overnight at a grandparent's house",
				"Give your child simple choices whenever you can. Let your child choose what to wear, play, or eat for a snack. Limit choices to 2, or 3.",
				"Encourage your child to use words, share toys, and take turns playing games of one another's choice",
				"Give your child toys to build imagination, like dress-up clothes, kithchen sets, and blocks.",
				"Use good grammer when speaking to your child. Instead of \"Mommy wants you to come hear,\" say,\" I want you to come hear.\""};
				return return_hints;
	}
	
	public String[] Fill_5years_HelpfulHints(){
		String[] return_hints = new String[]{
				"Continue to arrange play dates, trips to the park, or play groups. give your child more freedom to choose activities to play with friends, and let your child work out problems on her own",
				"This is a good time to talk to your child about safe touch. No one should touch \"private parts\" except doctors or nurses during an exam or parents when they are trying to keep the child clean",
				"Teach your child her address and phone number",
				"When reading to your child, ask him to predict what will happen next in the story",
				"Encourage your child to \"read\" by looking at the pictures and telling the story"};
				return return_hints;
	}
}
